<html>
<body>
报告错误的“缓存”注解：<code>@Cacheable</code>、<code>@CacheEvict</code>、<code>@CachePut</code>、<code>@CacheConfig</code> 等。

<p><b>示例：</b></p>
<pre><code lang="java">
@org.springframework.stereotype.Component
public class MyCacheManager implements CacheManager {...}

public class MyConfiguration {
   @Cacheable(value = "a",
       cacheResolver ="myCacheManager") // 报告“Bean 必须为 'org.springframework.cache.interceptor.CacheResolver' 类型”
   public String getCache(String isbn) {...}

   @Cacheable(value = "abc",
   private String getAbc() // 报告 "应在 public 方法上定义缓存注解"
   {...}
}
</code></pre>
</body>
</html>